<?php
$ret = "";
for ($i = 0; $i < 100; $i++) {
    $str = sprintf("%02d", $i);
    $ret .= "ALTER TABLE user_feed_comment_{$str} ADD COLUMN pid BIGINT(20) NOT NULL DEFAULT 0 COMMENT \"父级id\",ADD COLUMN is_operation tinyint(4) NOT NULL DEFAULT 0 COMMENT \"是否是官方账号:1、是；0、否\",ADD INDEX idx_pid(pid);\n";
}
file_put_contents("./a.txt", $ret);